<?php 
$urldata = "../data/LeaveMessage.txt";
$fname = $urldata;
$filearray= file($fname);
$totalNumber=sizeof($filearray);
?>